
public class Ch7_sample {
	public static void main(String args[])
	   {
		int i;
		i=star(9);
		System.out.println(i+" stars printed");
		
	   }
	public static int star(int n)
	{
	int i=1;
	for ( i=1;i<=2*n;i++){}
		//System.out.print("*");
	//System.out.print("\n");
		
		return 2*n;
	
	
	//return i;
	}
	
	


}


